home *** CD-ROM | disk | FTP | other *** search
/ 3D Games - Real-time Rend…ng & Software Technology / 3D Games - Real-time Rendering & Software Technology.iso / flysdk / lib / jpg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-25  |  928 b   |  34 lines

  1. //-----------------------------------------------------------------------------
  2. // ---------------------
  3. // File ....: interfce.h
  4. // ---------------------
  5. // Author...: Gus J Grubba
  6. // Date ....: October 1995
  7. // Descr....: C Interface to JPEG library
  8. //
  9. // History .: Oct, 27 1995 - Started
  10. //            
  11. //-----------------------------------------------------------------------------
  12.         
  13. typedef struct _jpegdata {
  14.    unsigned char *ptr;
  15.    int    width;
  16.    int    height;
  17.    FILE  *output_file;
  18.    FILE  *input_file;
  19.    int    aritcoding;
  20.    int    CCIR601sampling;
  21.    int    smoothingfactor;
  22.    int    quality;
  23.    HWND   hWnd;
  24.    int    ProgressMsg;
  25.    int    status;
  26.    int    components;
  27. } JPEGDATA;
  28.  
  29. void JpegWrite( JPEGDATA *data );
  30. void JpegInfo(  JPEGDATA *data );
  31. void JpegRead(  JPEGDATA *data );
  32.  
  33. //-- interfce.c ---------------------------------------------------------------
  34.